package com.qriver.session.facade;

import com.qriver.session.common.CommonResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

@FeignClient(name = "tokenService",
        url = "${sso.url}")
public interface TokenService {

    @PostMapping("/verifyTmpTicket")
    public CommonResult verifyTmpTicket(@RequestParam("tmpTicket")String tmpTicket);

}
